home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Dev / misc / LOCCounter.lha / LOCCounter / src / PatternMatch.h < prev    next >
C/C++ Source or Header  |  2004-08-17  |  769b  |  38 lines

  1. #ifndef LOC_PATTERN_MATCH_H
  2. #define LOC_PATTERN_MATCH_H
  3. /****************************************************************************
  4. *
  5. * $RCSfile: PatternMatch.h $
  6. * $Revision: 2.5 $
  7. * $Date: 2004/08/17 22:38:58 $
  8. * $Author: ssolie $
  9. *
  10. *****************************************************************************
  11. *
  12. * Copyright (c) 2004 Steven Solie.  All Rights Reserved.
  13. *
  14. *****************************************************************************
  15. *
  16. * PatternMatch component
  17. */
  18.  
  19. #include "Main.h"
  20.  
  21. #include <dos/dosasl.h>
  22.  
  23.  
  24. class PatternMatch {
  25. public:
  26.     PatternMatch();
  27.     ~PatternMatch();
  28.     const char* firstFile(const char* pattern);
  29.     const char* nextFile();
  30. private:
  31.     AnchorPath* m_anchor;
  32.     BPTR m_lock;      // current directory lock
  33.     bool m_searching;
  34. };
  35.  
  36.  
  37. #endif
  38.